import { PanelItemController } from "@ibiz-template/runtime";
import type { IPanelContainer } from "@ibiz/model-core";
import { PanelGridContainerState } from "./i-biz-panel-grid-container.state";

/**
 * 面板栅格容器控制器
 *
 * @export
 * @class PanelGridContainerController
 * @extends {PanelItemController<IPanelContainer>}
 */
export class PanelGridContainerController extends PanelItemController<IPanelContainer> {
  declare state: PanelGridContainerState;

  protected createState(): PanelGridContainerState {
    return new PanelGridContainerState(this.parent?.state);
  }
}
